package top.infopub.mgr.mkt.dao;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import top.infopub.dto.bpa.BpaPublicProInfoDto;
import top.infopub.generic.GenericDao;
import top.infopub.model.mkt.ProjectInfo;


/***
 *  项目基础信息
 * **/
@Repository
public interface ProjectInfoDao extends GenericDao<ProjectInfo, String> {
    ProjectInfo findByProCode(String proCode);

    ProjectInfo selectByProName(String proName);

    void modifyProjectInfoBySeletive(ProjectInfo projectInfo);

    ProjectInfo findTailByProCode(String proCode);

    BpaPublicProInfoDto queryBpaProInfoByProCode(@Param("proCode") String proCode);

    BpaPublicProInfoDto queryApplyInfo(@Param("id") String id);
}
